[XEND] Re-add the tap prefix because it is needed.
authorAlastair Tse <atse@xensource.com>
Fri, 13 Oct 2006 17:36:25 +0000 (18:36 +0100)
committerAlastair Tse <atse@xensource.com>
Fri, 13 Oct 2006 17:36:25 +0000 (18:36 +0100)
Signed-off-by: Alastair Tse <atse@xensource.com>
tools/python/xen/xend/XendConfig.py

index 5d7db039bc2203b98dc3ecbc08c662f67d68e10a..e3117e255e7413162398a72b187c9d1aa79225ef 100644 (file)
@@ -809,7 +809,7 @@ class XendConfig(dict):
                 return dev_uuid
             
             elif dev_type == 'tap':
-                dev_info['uname'] = 'qcow:%s' % cfg_xenapi.get('image')
+                dev_info['uname'] = 'tap:qcow:%s' % cfg_xenapi.get('image')
                 dev_info['dev'] = '%s:disk' % cfg_xenapi.get('device')
                 
                 if cfg_xenapi.get('mode') == 'RW':